package com.zrt.springboot.controller.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RiverDTO {
    private ArrayList<String> timeList;
    private ArrayList<Double> dataList;
    private Double maxData;
    private Double minData;

    public RiverDTO(Double maxData, Double minData) {
        this.maxData = maxData;
        this.minData = minData;
    }
}
